﻿using SmartWMS.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Domain.BasicsDatum
{
    /// <summary>
    /// 设备管理表
    /// </summary>
    public class Equipment : KeyEntity
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        [MaxLength(30)]
        public string? EquipmentCode { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        [MaxLength(30)]
        public string? EquipmentName { get; set; }
        /// <summary>
        /// 是否授权
        /// </summary>
        public bool IsEmpower { get; set; }
        /// <summary>
        /// 授权标识符
        /// </summary>
        [MaxLength(50)]
        public string? Identifier { get; set; }
        /// <summary>
        /// 设备状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(200)]
        public string? Remarks { get; set; }
    }
}
